package com.dykj.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * salesorderinfo
 * @author 
 */
public class Salesorderinfo implements Serializable {
    private Date createtime;

    private Long famount;

    private String fbillno;

    private String fcontractmonth;

    private String fcontractno;

    private String fcontractyear;

    private String fcounty;

    private Integer fcustid;

    private String fcustname;

    private String ffullname;

    private String findustry;

    private String fpdeptname;

    private String fpdeptnumber;

    private Long fprice;

    private Long fqty;

    private static final long serialVersionUID = 1L;

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Long getFamount() {
        return famount;
    }

    public void setFamount(Long famount) {
        this.famount = famount;
    }

    public String getFbillno() {
        return fbillno;
    }

    public void setFbillno(String fbillno) {
        this.fbillno = fbillno;
    }

    public String getFcontractmonth() {
        return fcontractmonth;
    }

    public void setFcontractmonth(String fcontractmonth) {
        this.fcontractmonth = fcontractmonth;
    }

    public String getFcontractno() {
        return fcontractno;
    }

    public void setFcontractno(String fcontractno) {
        this.fcontractno = fcontractno;
    }

    public String getFcontractyear() {
        return fcontractyear;
    }

    public void setFcontractyear(String fcontractyear) {
        this.fcontractyear = fcontractyear;
    }

    public String getFcounty() {
        return fcounty;
    }

    public void setFcounty(String fcounty) {
        this.fcounty = fcounty;
    }

    public Integer getFcustid() {
        return fcustid;
    }

    public void setFcustid(Integer fcustid) {
        this.fcustid = fcustid;
    }

    public String getFcustname() {
        return fcustname;
    }

    public void setFcustname(String fcustname) {
        this.fcustname = fcustname;
    }

    public String getFfullname() {
        return ffullname;
    }

    public void setFfullname(String ffullname) {
        this.ffullname = ffullname;
    }

    public String getFindustry() {
        return findustry;
    }

    public void setFindustry(String findustry) {
        this.findustry = findustry;
    }

    public String getFpdeptname() {
        return fpdeptname;
    }

    public void setFpdeptname(String fpdeptname) {
        this.fpdeptname = fpdeptname;
    }

    public String getFpdeptnumber() {
        return fpdeptnumber;
    }

    public void setFpdeptnumber(String fpdeptnumber) {
        this.fpdeptnumber = fpdeptnumber;
    }

    public Long getFprice() {
        return fprice;
    }

    public void setFprice(Long fprice) {
        this.fprice = fprice;
    }

    public Long getFqty() {
        return fqty;
    }

    public void setFqty(Long fqty) {
        this.fqty = fqty;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Salesorderinfo other = (Salesorderinfo) that;
        return (this.getCreatetime() == null ? other.getCreatetime() == null : this.getCreatetime().equals(other.getCreatetime()))
            && (this.getFamount() == null ? other.getFamount() == null : this.getFamount().equals(other.getFamount()))
            && (this.getFbillno() == null ? other.getFbillno() == null : this.getFbillno().equals(other.getFbillno()))
            && (this.getFcontractmonth() == null ? other.getFcontractmonth() == null : this.getFcontractmonth().equals(other.getFcontractmonth()))
            && (this.getFcontractno() == null ? other.getFcontractno() == null : this.getFcontractno().equals(other.getFcontractno()))
            && (this.getFcontractyear() == null ? other.getFcontractyear() == null : this.getFcontractyear().equals(other.getFcontractyear()))
            && (this.getFcounty() == null ? other.getFcounty() == null : this.getFcounty().equals(other.getFcounty()))
            && (this.getFcustid() == null ? other.getFcustid() == null : this.getFcustid().equals(other.getFcustid()))
            && (this.getFcustname() == null ? other.getFcustname() == null : this.getFcustname().equals(other.getFcustname()))
            && (this.getFfullname() == null ? other.getFfullname() == null : this.getFfullname().equals(other.getFfullname()))
            && (this.getFindustry() == null ? other.getFindustry() == null : this.getFindustry().equals(other.getFindustry()))
            && (this.getFpdeptname() == null ? other.getFpdeptname() == null : this.getFpdeptname().equals(other.getFpdeptname()))
            && (this.getFpdeptnumber() == null ? other.getFpdeptnumber() == null : this.getFpdeptnumber().equals(other.getFpdeptnumber()))
            && (this.getFprice() == null ? other.getFprice() == null : this.getFprice().equals(other.getFprice()))
            && (this.getFqty() == null ? other.getFqty() == null : this.getFqty().equals(other.getFqty()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getCreatetime() == null) ? 0 : getCreatetime().hashCode());
        result = prime * result + ((getFamount() == null) ? 0 : getFamount().hashCode());
        result = prime * result + ((getFbillno() == null) ? 0 : getFbillno().hashCode());
        result = prime * result + ((getFcontractmonth() == null) ? 0 : getFcontractmonth().hashCode());
        result = prime * result + ((getFcontractno() == null) ? 0 : getFcontractno().hashCode());
        result = prime * result + ((getFcontractyear() == null) ? 0 : getFcontractyear().hashCode());
        result = prime * result + ((getFcounty() == null) ? 0 : getFcounty().hashCode());
        result = prime * result + ((getFcustid() == null) ? 0 : getFcustid().hashCode());
        result = prime * result + ((getFcustname() == null) ? 0 : getFcustname().hashCode());
        result = prime * result + ((getFfullname() == null) ? 0 : getFfullname().hashCode());
        result = prime * result + ((getFindustry() == null) ? 0 : getFindustry().hashCode());
        result = prime * result + ((getFpdeptname() == null) ? 0 : getFpdeptname().hashCode());
        result = prime * result + ((getFpdeptnumber() == null) ? 0 : getFpdeptnumber().hashCode());
        result = prime * result + ((getFprice() == null) ? 0 : getFprice().hashCode());
        result = prime * result + ((getFqty() == null) ? 0 : getFqty().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", createtime=").append(createtime);
        sb.append(", famount=").append(famount);
        sb.append(", fbillno=").append(fbillno);
        sb.append(", fcontractmonth=").append(fcontractmonth);
        sb.append(", fcontractno=").append(fcontractno);
        sb.append(", fcontractyear=").append(fcontractyear);
        sb.append(", fcounty=").append(fcounty);
        sb.append(", fcustid=").append(fcustid);
        sb.append(", fcustname=").append(fcustname);
        sb.append(", ffullname=").append(ffullname);
        sb.append(", findustry=").append(findustry);
        sb.append(", fpdeptname=").append(fpdeptname);
        sb.append(", fpdeptnumber=").append(fpdeptnumber);
        sb.append(", fprice=").append(fprice);
        sb.append(", fqty=").append(fqty);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}